AS3 Code for user Recognition