added devise for login functionality