Added logout functionality, page layout updates