store uid on register/login in sharedprefs