moved rendering line from home view to home controller