Save current user to localStorage for js access