adding missing parts from tutorial to blog app