adding devise for user functionality