updated controller and css