make models global
Merge pull request #10 from neko2014fresh/fix-user-register

make models global