#13 prepared ajax for login page