removed validate admin function in files and using the same template for all files ref #108