Corrected $email => $handle in the authentication function.