logging for registration form