Bulk of it
I put together a separate page (for testing purposes just now) that has a form at the top that you can submit an entry and send this information back to itself to deal with. Below this I added a DB pull to display all the entries so you can see what you have added. Once I got this working I then added in a delete option on each entry, this way if you make a double entry you can delete it.
All of this is done and handled by the same page based on what is being submitted to itself. Once I had this all working I then integrated it all with the previous page I created for the log in so everything was contained in one file and dealt with by this one file.