Updated login code

Changed connection to correct database and updated home page to route correctly. Now redirects bak to home on successful logout so it does't look to the user that they have to log in twice.
Changed nag headings to reflect new controller structure

In particular, new by_date, by_context, etc. URL structures for viewing
Project headings now showing

Changed code to get project headings from database and showing. All headings showing correctly and icons linking to correct pages.
Added controller method for deleting projects

Few changes around this as well to provide some feedback in the UI for testing that I'm getting to the right pages as I'm testing. Links for editing projects now work and links for deleting are triggering the correct controller and method.
Implemented show action code

Ported show action code across from old tasks app and amended to work with the array of action data being passed in from the new view method. Still need to revisit as there is a lot of PHP code in the view, but all is working as expected and displaying correct data.