admin view updates;
ajax call secured; core controller improved; template function implemented;
Merge pull request #2 from Mexassi/layout

Layout