Hi
Security Assist wouldn't handle the inserting of such information into a database, but Data Assist (Data Bridge) could certainly help you to achieve this.
Creating a log of user logins is very easy to do. Creating a log of user logouts is much harder unless you only want to capture information when a user physically clicks a logout link. For example if a user doesn't 'log out' but just closes the browser window or goes to another website there is no way of capturing this 'log out' action.
Cheers
Ian