added devise and authentications