PHP user model name field validation fix