added logouts to other two pages