Promise wrapper for firebase and account concept