added entry model and dashboard logic