General clean up, fixed logged in bug, removed old resource code, deleted unneeded model templates.
Renamed ResourceHandler2 to ResourceHandler
Basic editing of user profiles now possible
Somewhat buggy version of editing of groups now enabled.