Login route and checking

Login route and checking