handling the edge case of blank username/email