Value of type User has no member 'logStatus Swift Error