fixes class paths
fixes typos
move versionconstants to includedir
use first user as userid for event if not logged in, typo
class Login: cleanup
fix inclusion of versionconstants
check result before trying to calling fetch_object
remove deprecated theme functions
fix typos
create event before deleting sessionid