Working on user validation

Generating gids based on user emails.