added the redirect to create method