figured out how to handle logouts, first page added