Refactors user model
Merge branch 'master' of github.com:IvanVP/glash