generate home controller and view
fixing syntax error in model