added devise and login