working app with authentication, post creation and retrieval