Added support for user logout.

    * User logout support added onto Subject.