Updated Logout Button and added that functionality.