Logout working in inherited layout.html