links corrected for get and post