Function user registration - lol