Inital setup
Added packages dir to gitignore
Fixes to the user management logic and controller endpoints.