hash option is added to login.php & register.php