added controller and home view