anchor.diff:  %% Purpose: Retrieves the if from the path.
   %% Returns: Id
   %% @end
  +-spec id_from_path(string()) -> string().
   id_from_path(RD) ->
       case wrq:path_info(id, RD) of
           undefined->
  
positive.code: %% DELETE
  delete_resource(ReqData, State) ->
  	Id = list_to_integer(id_from_path(ReqData)),
  	erlang:display(Id),
  	case db_api:delete_user_with_id(Id) of
  		ok -> {true, ReqData, State};
  		{error,_} -> {{halt, 404}, ReqData, State};
  
negative.code: %% Purpose: Given a proplist, the return value will be a 'user' record with the values taken from the proplist.
  %% Returns: user::record()
  %% @end
  -spec json_to_user(string()) -> Record :: #user{}.
  json_to_user(JsonData) ->
  	#user{id = proplists:get_value(<<"id">>, JsonData),
  		email = proplists:get_value(<<"email">>, JsonData), 
  