added Roles to db
changed back to js from coffeescript