fixed date issue for checkin, started working with login