added an add button and created a form for creating a new post. also registered a new service to handle local storage