added security aspects
implemented index with links for admin pages