Given a table of user login events, write a query to calculate the weekly active users (WAU) and the month-over-month retention rate.