using conditionals on login.tpl