updated error handling/exceptions, working accounts endpoint