Add code to track performance metrics and events (password calculation).
Currently UI is based on old version of this project.