check if username and nickname are not empty