Fix bug with user profilename validation