logging the user access activity