implemented basic posting and user authentication functionality