updated the logic for check-in/out, moved from nav bar to events#show