I am writing a python script that parses a lot of user data and puts it in a database. I want to link this data to a phpBB database of users(keep track of who uploaded what data). I was wondering if there is an easy way to make sure the user is logged in(and return the userid), when they go to the python script.