PHP script for checking username and email availability