made a getEmail method in the user class:`