update vlogin in views to adapt index.html