added login with AJAX :D