Added ability to reauthenticate instead of having to relogin, passes version of code back when logging in, reauth