User login system now functionally communicates with phone.

It's stable and working, and can be treated as finished by the phone. More backend work on the server is needed.

Worked with @EddieSpencer