Completed source code for the simple blog tutorial