Add Role.findByName and more comments
Allow app.id to be set
Fix the callback
Add default values