Check in latest code for login and autoroute athentication