add rules for users
close signup modal when user has been created