app code for home_controller_spec