Added header and footer, and login mechanism