Create user functionality.