Added devise and update the database.yml
added devise and update the database.yml