I'm not sure why the unhide thing doesn't work, but I noticed one thing. I think on your toggle hide command, it doesn't check if the client is admin or super admin, causing anyone to be able to toggle the admin only thing. I think, that is.
Oh, and you didn't close the function togglehide all the way, need one more "}"