exit with error if invalid login information