modified signup res.status.end