Adapted the consumer to the new library and implemented the get user function