on login, dashboard details displayed using ajax