Also, try to never store account information yourself, use a larger provider such as google, facebook, kongregate etc. I know that construct comes with Facebook, Google Play, Kongregate and a few more options. You can handle the log in with these in ways, store hi-scores etc also. But mostly consider these because they are secure and less likely to be compromised.