modified socialmediasite controller