check agent login before booking