Function to retrieve number of entries for a specified user
Add id number (incremented for each entry) when creating an entry then retrieve entries & display them in diary template