-login/logout functionality implemented

Signed-off-by: Artyom Borkowsky <artyom_borkowsky@stylesoft.by>