anchor.diff:          Id ->  string:to_lower(Id)
       end.
   
  +
   %% @doc
   %% Function: add_server_side_fields/1
   %% Purpose: Used to add all the fields that should be added server side
  
positive.code: 
  -spec build_user_json(Data::tuple(), AccToken::string(), RefToken::string()) -> string().
  build_user_json(Data, AccToken, RefToken) ->
      Id = proplists:get_value(<<"id">>, Data),
      % Etag = proplists:get_value(<<"etag">>, Data),
      Email = list_to_binary(binary_to_list(Id) ++ "@openid.ericsson"),
      Password = list_to_binary("pa55w0rd"),
      Description = proplists:get_value(<<"occupation">>, Data),
  
  
negative.code: -spec add_server_side_fields(Json::string()) -> string().
  add_server_side_fields(Json) ->
      lib_json:add_values(Json,[{rankings, "[]"},{notifications,"[]"},{triggers,"[]"},{subscriptions, "[]"}]).
  
  
  -spec add_access_token(Json::string()) -> string().
  add_access_token(Json) ->
      BID = binary_to_list(lib_json:add_values(Json, "username")),
      AccToken = base64:encode(crypto:strong_rand_bytes(BID)),
      lib_json:add_values(Json,[{access_token, AccToken}]).
  