removed unnecessary argument in CmdLogout
reworked all permission adding commands to use long instead of int to
provide compatibility for icon ids