added render method to home controller