logout page and sort drop down