Adding logout button to the home page. Also adding turn off alarm functionality.