Fixed Restaurant side log in 

Also added auto login.