created a home controller