more error checking when adding user