log out function

Signed-off-by: Nader Hendawi <naderhen@gmail.com>