altering add post redirection functionality