Refactor exception handling to always return a string
Added Credentials class to store email and password