Implemented devise for users...set logic