Final changes to POST,GET,DEL and login.js