app ready can now return promise