create register popup class