Check user online status based on last login