login or logout the BUPT's gateway