How to get app session from the firebase?