tweaks for login