update snippet directive
update snippet functionality
update decode html filter
add authorization service
add additional functionality for users