Created Login, Logout function

Created login and log out functions through the use of DAOs and
controllers. Included authentication, and added codes to protect the
page from unauthorised access. Added in Zurb Foundation for simple UI
design.