Add functionality, testing for POST requests
fix post requests