Added logout to homepage and updated login form.