fixed crash caused by firebase persistence, added server & afnetworking