added devise authentication and updated db with user model