solving routing isses, defined index and removed home from the user_controller.rb file