Complete implementation of home view controller