get and set local user only on mobile