Login Actionscript conversion first commit

First commit of changes to convert Login view to an Actionscript class