Working example of getting and saving user