added a homepage and routed the home to main view