creating user activity logs