Shows online users based on cookie for guest and session for registered user. It also records the last login of user.