Devise added, tests written for authorization.