updating firebase keys to lowercase
adding firebase auto sign off code