got rid of excessive line in application.js. added admin auth
fixed erroneous ref to content directives causing js erro