working on user eligibilty check