implements devise for users