started to implement if statement in the controller, 2 tests still failing due to missing method stubs