Revert "reworked all permission adding commands to use long instead of int to provide compatibility for icon ids"

This reverts commit ce8b50d6ad51f1c7baca0b319e11ee1ba1ed93a9.
changed something, but don't know what has changed in CmdLogin.java :D