registration and user rules fixed