add pin action to checkin contorller and did a bunch of stuff