added security to admin

if a user other than admin logs in and try to access this page.. error
is displayed
bug fixes

-redirection along with $_POST data,
-Email package added.
-request count in Tab
-added functions to generate approval table.