fix whitespace error in ajax login