added devise and request