Added security for the admin page. Made remote database
merged with Ivana's email commits