public async Task <IActionResult> Delete([FromBody] UserEmailLocation emailLoc)
        {
            try
            {
                string userName = _authService.GetUserNameFromToken(this.HttpContext);

                //todo: get by id and username to verify security
                if (await _dao.DeleteUserEmailLocation(emailLoc))
                {
                    return(new JsonResult("Successfully deleted address."));
                }
                else
                {
                    return(BadRequest("Error deleting address"));
                }
            }
            catch (Exception e)
            {
                return(BadRequest(e.Message));
            }
        }