added name to user and did some validation