Updated user log functions