working on log in validation
made login ajax based