refactoring mocks and requestparser;  Adding more logic to put post