optional user regisrtation