fix redirection after creating new post

Fix #38