store logs in localStorage

Add buttons for viewing the logs page and for deleting all logs.