Change login validation to jQuery