added some comments of how the login/register process should work on our server