adds new post on function redux