checks profilename