I have a attendance viewcontroller after my login and in the attendance viewcontroller i have in time and out time buttons to store the entry and exit time of employees.And my question is wen a employee logs in and press the intime button and logs out and when he logs in again intime button must not be visible and outtime only must be visible.please help on this...