Fix the route and made a simple login controller