check point updated.
logout method added.
remove something useless.