Work on LoginController.cs:

Login now returns a proper json object --> "{type: x}"

where x is
-> 0 invalid
-> 1 admin
-> 2 vendedor
-> 3 cliente