Functionality for register user. (does not log ip adress @ registration yet