changed register system
fixed data to support anonymous user