Restore session from cookie, if set. Added delete-objective functionality.