Added EntranceLogs table, model and some logic