Get/create user in API is now working. Fixed setVisibility() when
session state changes.(wrong codes)