Added the logout to the list of allowed tasks