Added simple username validation when creating records