Updates for successful create, moved controller logic out of routes