Rewritten bunch of code for cleaning purposes

Added accountcontroller errorcodes and errormessages
Made a strict login, logout and register method
Changed panels to not do any logic
Fixed statusbar observing
More public references
Removed redundant references