sends names on post request