checkin controller functional