added checkin page and fixed a couple bugs