added permanent relogin once user has logged in, as well as reauthenticating with credentials