removed problematic posix_getpxid in favor of get_current_user()