change validations on log and plan to work with user_id