checks if username or email exists