jquery function: check whether current login is unique (registration
form)