fix logout handler is not working.

add license text.