Thread:Project:Support desk/sidebar and anon users

i have now gotten the anon extension to work, so anon users cannot see anything without logging in. now onto the collapsing sidebar and restriction of said groups

MediaWiki 	1.18.1 PHP 5.3.15 (apache2handler) Database 	5.5.27

I am having some issues trying to get this figured out. i have looked around but cannot seem to get it to work correctly. I included HideSidebar (Version 1.0.1) Im trying to removed the un-needed login from the side bar, as there it redirects to the wrong page, and we have a working one at the top right. it currently directs to index.php/Special:Log_in instead of index.php?title=Special:UserLogin&returnto=Special%3ALog+in where it should be going. so I would like to remove it, or change the redirect. I am new to the php world so not really sure how to accomplish this. I also would like to make multiple categories on the sidebar but only available to the appropriate user. ex sup can see all groups below them tl can see their groups and groups below them but not the ones above etc. I would also like to make these collapse-able. any help would be greatly appreciated