public static String encodeEmail(String userEmail){
  return userEmail.replace(".",",");
}

public static String encodeEmail ( String userEmail ) { return userEmail . replace ( "." , "," ) ; }
encode user email to use it as a firebase key ( firebase does not allow " . " in the key name ) encoded email is also used as " useremail " , list and item " owner " value
