added checkin functionality and home view