Add check to test if profile exists