making getMeetings method work and adding logging and better error handling