updateUserData method
Implementation
Future updateUserData(String email, String userType,
{String rin = "0", String name}) async {
//Updates the user data for the user corresponding to the usid
return await _userCollection.document(usid).setData({
'email': name,
'userType': userType,
'rin': rin,
'name': name,
});
}