applied getpostredirect pattern to story creation