got the check login routes to work