updating buttons and functions, added logout function and buttons to
every page. Also, edited each page based on needed buttons