Added logout button. Added form to master page.