have a table either like this
employee - date - log in time - log out time
or like this
employee - date - action - time
where "action" is either login or logout
add entries as appropriate.
The second way gives you a table twice as tall as the first, but which should be easier to deal with.