automatic logging in after successful confirmation