Added firebase sync
Added basic auth