Autologin issue fixed but not working

Some minnor issues should be fixed