catching users last login on the dashboard