Implimented the new user system

This is one of the least secure systems I've ever done, but let's hope
it's secure enough