added server side validation to username on registration