implemented devise for users.