Added Ajax to login script