AJAX login in pastel flat design