I want latest logs from userlogs collection based on userId with group by concept For example, if I having 10 logs record with two different users, and want to fetch logs de