changing to post request and singleton for data