firebase token generation WIP