Fixed a case when data of currentUser is nil