added bootbox, checkin and checkout functionality