all user error checking when registering has been redone and tested to work