modified the hook to add tabs for dashboard as well