#1 added support of getting user data from client-side