implemented login/logout logic for vk