Added the ability to register users