Implemented Devise for user authentication