Added redirect_url method to custom_failure.rb in lib folder to make admin login route work. Before this update, all requests to admin were also being redirected to landing path. Removed old commented code from projects_controller.