Changed login form displaying method