added a return statement to stop the create statement from having multiple redirects