add condition to check if senior profile found