Implemeted devise for users