minor fix for travis ci
allow trusted apps to get a specific user
allow trusted apps to create new users
allow trusted apps to list users
minor refactoring
allow users/trusted apps to update email and password for users