Use dependency injection to share currentUser
Use env config for logging