initial commit [login from json]