refactored admin dashboard to a table with user management