added user
fixed appt query parameters
added log test