Added ajax request for login form