a few tweaks to login page controller