troubleshooting
added the concept of a MauthError and refactored
changed the way i called MauthError