added devise for login and authentication