login & logout & register apiurl