You should look at a the LOGON trigger. ( [url]http://technet.oracle.com/docs/products/oracle8i/doc_library/817_doc/server.817/a85397/statem6d.htm#2064212[/url] )

This trigger will fire every time somebody logs into the database. You can capture their information from there. There is also a logoff trigger where you can capture information.