Added in user registration that was previousely overwritten.