autologin fix view