fixed variables in login index