implemented devise for users