added devise and user login