Add ajax username and password check working