Extended client to support exceptions and login method