refactored dashboard and started to implement flexbox"