now checks if the users name is taken or not