Implemented devise for users.