Implemented collection and returning of keys and loading of booking history.