Some code improvements
Integration tests for users dashboard