check username and email availability