New Edit functions for homepage

Changes:
Clicking on edit now loads event details into input page.

Still need to do:
Update the database if the user changes anything