$("#vk-login").on('click',function(){
VK.Auth.login(function (data) {
console.log(data);
if(data.status == 'connected'){
VK.Api.call('users.get', {user_ids: data.session.user.id,fields: 'id,first_name,last_name,photo_200,email'}, function(r) {
console.log(r);
});
/* auth('vk',data.session.user);*/
}
},4194304);