Syntax error fixed
LOGIN_RESULT handler added - this should be fixed
bug fixed
Receive function set
Test code