Finally sorted out get and post stuff