fixed so it can return a homepage