corrected the redirects after create method