small fixes to login vars