refactor the stream scope
refactor the stream scope

create a class method with the same functionality
move all of the security_sql related sql strings into a new method

socializer/socializer,socializer/socializer,socializer/socializer