user name expection handeling, Access-Control-Allow-Origin