Implimented devise for users