With `get_user_authid' you can access the player Steam ID.
The `client_connect' forward is called every time a player connects to your server. Use its `id' parameter to get the Steam ID.
Use `server_cmd("amx_kick .....")' with the right parameters to kick the user after checking database.