add the ability to refer to the login state by a http status