modular dockerfile and record usage time per user

- dockerfile updated to use pre-built base image
- record usage time per user