redirect to authentication after key generation