implementation user and admin statictics