Remove getTeams function

as it is not user management specific
Update DB scheme

and refactor userManagement to match the updated scheme.