-added login logics

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