refactors user dashboard