updated to add user authentication and date/time