fixed logic to save entry
create function of showing all entries