Implemented Devise for authentication