changed firebase presence detection implementation

now firebase presence is a service and not something run on app
initialization
Merge branch 'dev'