Login logic works, but in a bit of anorthodox way. Anyway, it works! Added Json.Net library (Newtonsoft.Json - assembly and using).